package com.ytc.learning.api;


import com.ytc.commons.model.dto.RecordDto;
import com.ytc.commons.model.vo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("xc-learning-service")
public interface LearningClient {

    @PostMapping("/courseRecord/saveRecord")
    ResponseResult saveRecord(@RequestBody RecordDto dto);
}
